<include file="Public:header" />
<hr />
<script type="text/javascript">
$(function() {
$("#CheckAll").attr('checked','checked');
$("#CheckAll").click(function() {
var flag = $(this).attr("checked");
$("[name=friendlist[]]:checkbox").each(function() {
$(this).attr("checked", flag);
})
})
})
</script>
<div class="span-3 prepend-1 colborder">
    <div class="member_menu">
        <include file="Member:menu" />
    </div>
</div>
<div class="span-18 prepend-1  last">
    <h4 style="color:#060">将活动信息发送给好友</h4>
    <hr style="border:#999 1px solid" />
    <input id="CheckAll" type="checkbox" />全选
    <form  name="memberfriend" method="post" action="__URL__/doinsertimport">
        <div class="span-13" style="overflow: scroll; height: 400px;">
        <volist name="res" id="np">
            <li class="span-12">
                <span class="span-1"><input type="checkbox" checked="true" name="friendlist[]" value="{$np.0},{$np.1}" /></span>
                <span class="span-4">{$np.0}</span><span class="span-6">{$np.1}</span>
            </li>
        </volist>
        </div>
        <hr style="border:#999 1px solid" />
        <input type="submit" name="确认邀请" />
    </form>
</div>
<div class="clear"></div>
<include file="Public:footer" />